const axios = require('axios');
  
// axios.get('http://localhost:8080/test/test1')
//  .then(response => {
//    console.log(response);
//  })
//  .catch(error => {
//   console.log(error);
//  });
 
 test();
function test(){			
	axios({
		url: 'http://localhost:8080/test/test1',
		method:'POST',
		contentType: "application/json; charset=utf-8",
		params: 'application/x-www-form-urlencoded',
		data: { 
				"number":"1",
				"hash":"2",
				"size":"3"
			  },
		contentType: "application/json; charset=utf-8",　　　　　　　　　　  
		dataType: "json",　　　　　　　　　　		
		}).then(response => {
   console.log(response.data);
 })
 .catch(error => {
  console.log(error);
 });
}
 

 